.alert
{
    clear: both;
    text-align: left;
    margin-bottom: 10px;
    display: block;
    margin: 4px
}

.hide{ display:none; }
.show{ display:block; }

.global_message
{
    display: none;
    height: 0;
    position: fixed;
    text-align: center;
    top: 3px;
    width: 100%;
    z-index: 9999
}

.global_message .alert
{
    padding-right: 25px;
    margin-right: -25px;
    border: 1px solid #1f8113;
    background-color: #d7f5ce;
    color: #086413;
    color: #086413;
    color: #086413;
    display: inline;
    font-size: 120%;
    box-shadow: 0 0 0 #000;
    -webkit-box-shadow: 0 0 0 #000;
    -moz-box-shadow: 0 0 0 #000
}

.global_message .close { float: none }

#alert
{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1031;
    top: 0;
    left: 0;
    z-index: 3041
}

#alert .func
{
    text-align: right;
    background-color: #e2e2e2;
    padding: 5px;
    margin: 5px -10px -10px;
    border-top: 1px solid #bbb;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset
}

#alert .func .btn { min-width: 70px }

#alert .wtitle
{
    background-image: -moz-linear-gradient(top, #aaa, #777);
    background-image: -ms-linear-gradient(top, #aaa, #777);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#aaa), to(#777));
    background-image: -webkit-linear-gradient(top, #aaa, #777);
    background-image: -o-linear-gradient(top, #aaa, #777);
    background-image: linear-gradient(top, #aaa, #777);
    background-repeat: repeat-x;
filter:progid:dximagetransform.microsoft.gradient(enabled=false);
    background-color: #777;
    border-bottom: 1px solid #444;
    font-size: 16px;
    padding: 8px 10px;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    font-weight: bolder;
    color: #fff;
    color: #fff;
    color: #fff;
    text-shadow: 0 1px 0 #111;
    box-shadow: 0 1px 0 #eee;
    -webkit-box-shadow: 0 1px 0 #eee;
    -moz-box-shadow: 0 1px 0 #eee
}

#alert .wtitle .close
{
    filter: alpha(opacity=60);
    -moz-opacity: .5;
    -khtml-opacity: .5;
    opacity: .5;
    padding: 1px 3px;
    border: 1px solid #333;
    background-color: #eee;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 0 #fff;
    -moz-box-shadow: 0 1px 0 #fff
}

#alert .wtitle span
{
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 90%
}

#alert .wbody
{
    padding: 10px;
    background-color: #e7e7e7;
    box-shadow: 0 1px 0 #fff, 0 1px 0 #fff inset, 0 1px 0 #ddd inset;
    -webkit-box-shadow: 0 1px 0 #fff, 0 1px 0 #fff inset, 0 1px 0 #ddd inset;
    -moz-box-shadow: 0 1px 0 #fff, 0 1px 0 #fff inset, 0 1px 0 #ddd inset;
    border: 1px solid #999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin: 10px;
    overflow: hidden
}

#alert .wborder
{
    padding: 10px;
    background-color: #e7e7e7;
    box-shadow: 0 1px 0 #fff, 0 1px 0 #fff inset, 0 1px 0 #ddd inset;
    -webkit-box-shadow: 0 1px 0 #fff, 0 1px 0 #fff inset, 0 1px 0 #ddd inset;
    -moz-box-shadow: 0 1px 0 #fff, 0 1px 0 #fff inset, 0 1px 0 #ddd inset;
    border: 1px solid #999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin: 10px;
    overflow: hidden
}

#alert #alert-body
{
    text-align: left;
    padding: 0;
    width: 800px;
    text-align: left;
    position: relative;
    box-shadow: 0 0 2px #333;
    -webkit-box-shadow: 0 0 2px #333;
    -moz-box-shadow: 0 0 2px #333;
    border: 1px solid #aaa;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #d1d1d1;
    overflow: hidden;
    margin-top: 25px;
    width: 400px;
    height: auto;
    margin-top: 75px
}

#alert #alert-body textarea
{
    min-height: 50px;
    width: 95%;
    clear: both
}

#alert #alert-body h3 { margin-bottom: 10px }

#alert #alert-body textarea
{
    width: 97%;
    height: auto;
    margin-top: 0
}

#alert #alert-body .cover { min-height: 50px }

#alert #alert-body .cover .content
{
    font-size: 13px;
    margin-bottom: 10px
}

#alert #alert-body .cover .content b
{
    margin-top: 10px;
    display: block
}

#alert #alert-body br
{
    clear: both;
    margin-bottom: 10px
}